<template>
  <div class="cart">
    <van-nav-bar title="购物车" right-text="编辑" @click-right="edit" />
    <van-submit-bar
      :price="0"
      button-text="提交订单"
      @submit="onSubmit"
      style="bottom: 50px"
    >
      <van-checkbox v-model="checked">全选</van-checkbox>
    </van-submit-bar>
  </div>
</template>

<script>
export default {
  name: "cart",
  data() {
    return {
      checked: null
    };
  },
  methods: {
    edit() {},
    onSubmit() {}
  }
};
</script>
